<template>
  <div>
    <el-row>
      <el-col :span="24"><h4 style="text-align: center"> 销售出库</h4></el-col>
    </el-row>
    <el-row  >

      <el-col :span="8" style="margin-left: 10px">
        <el-form :label-position='"left"' label-width="80px" >
        <el-form-item label="客户">
          <el-input type="text" style="width: 60%;"></el-input>
        </el-form-item>
        <el-form-item label="送货地址">
          <el-input type="text" style="width: 60%;"></el-input>
        </el-form-item>
        </el-form>
      </el-col>

      <el-col :span="8">
        <el-form-item label="销售员">
            {{}}
        </el-form-item>
      </el-col>
      <el-col :span="6">
        <el-form-item label="订单总额">
            {{}}
        </el-form-item>
      </el-col>

    </el-row>

    <el-table :data="cutObj" style="width: 100%;height:200px;">
      <el-table-column prop="" label="商品名称" width="200"/>
      <el-table-column prop="" label="品牌" width="150"/>
      <el-table-column prop="" label="建议零售价" width="150"/>
      <el-table-column prop="" label="出库数量" width="150"/>
      <el-table-column fixed="right" label="移除商品" width="250">
        <template #default="scope">
          <el-button type="primary" @click="find(scope.row.id)">查看</el-button>
        </template>
      </el-table-column>
    </el-table>
    <el-row justify="center" >
      <el-col :span="5"  > <el-button type="primary" @click="find(scope.row.id)">添加商品</el-button></el-col>
      <el-col :span="5"> <el-button type="primary" @click="update(scope.row.id)">出库</el-button></el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  data() {
    return {
      cutObj:[]
    }
  }
}
</script>

<style scoped>

</style>